<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="Stylesheet" type="text/css" href="/css/pageTest.css">
    <script src="/js/jquery-1.11.1.min.js"></script>
</head>
<body class="body">
<jsp:include page="header.jsp"></jsp:include>
<div class="bigDiv">
    <!--这里是直播窗口-->
    <div class="chuangkou-r">
        <object
                classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921"
                codebase="http://download.videolan.org/pub/videolan/vlc/last/win32/axvlc.cab"
                id="vlc"
                name="vlc"
                class="vlcPlayer"
                events="True">
            <param name="" value="">
            <!--指定播放地址，target、mrl、filename、src作用类似-->
            <param name="Src"
                   value="https://qn.live-play.acgvideo.com/live-qn/831950/live_52992571_5823470.flv?wsSecret=a8eef8889204585d872b5db5312c466d&wsTime=1522740100">
            <!--指定是否显示界面，默认显示-->
            <param name="ShowDisplay" value="flase"/>
            <!--指定是否循环播放，默认不循环播放，与autoloop作用一样-->
            <param name="AutoLoop" value="False"/>
            <!--指定是否自动播放-->
            <param name="AutoPlay" value="True"/>
            <!--指定初始音量-->
            <param name="Volume" value="100">
            <!--指定是否显示控制条，默认显示，与controls作用一样-->
            <param name="Controls" value="False">
            <!--指定背景色，默认#000000白色-->
            <param name="bgcolor" value="#FFFFFF">
            <embed id="vlcEmb" type="application/x-google-vlc-plugin" version="VideoLAN.VLCPlugin.2" autoplay="yes"
                   loop="no"
                   width="640" height="480"
                   target="https://qn.live-play.acgvideo.com/live-qn/831950/live_52992571_5823470.flv?wsSecret=a8eef8889204585d872b5db5312c466d&wsTime=1522740100"></embed>
            </objetc>
        </object>
    </div>
    <!--这里是聊天窗口-->
    <div class="chuangkou-l">
        <div>
            <iframe  allowTransparency="true" src="chat.jsp" id="iframetest" frameborder="0" style="background: url('../image/2.png')"></iframe>
        </div>
    </div>
</div>
<div class="downURL">
    <h2>如果无法播放点击<a href="https://pan.baidu.com/share/init?surl=TxlLZ3akk-ogHVgZxXEyKw">这里</a>下载插件（推荐使用360或者IE进行观看）</h2>
    <div class="giftDiv">
        <button onclick="sendGift('xx') "><img src="../image/XieXie.jpg" style="width: 80px;height: 80px"></button>
        <button onclick="sendGift('six')"><img src="../image/666.gif" ></button>
        <button onclick="sendGift('hlb')"><img src="../image/HuLuoBo.gif" ></button>
        <button onclick="sendGift('zj')"><img  src="../image/ZuanJie.gif" ></button>
        <button onclick="sendGift('lc')"><img  src="../image/LunChuan(1).gif" ></button>
        <button onclick="sendGift('fj')"><img  src="../image/FeiJi.gif" ></button>
    </div>
</div>
<jsp:include page="footer.jsp"></jsp:include>
</body>
<script>
    function sendGift(name) {
        if(name=="lc"){
            alert("您的余额不足，无法赠送礼物——轮船（还需充值10,000豆）如需充值请咨询客服QQ:1171975780");
        }
        if(name=="fj"){
            alert("您的余额不足，无法赠送礼物——飞机（还需充值50,000豆）如需充值请咨询客服QQ:1171975780");
        }
        if(name=="hlb"){
            alert("您的余额不足，无法赠送礼物——小萝卜（还需充值500豆）如需充值请咨询客服QQ:1171975780");
        }
        if(name=="xx"){
            alert("您的余额不足，无法赠送礼物——大闸蟹（还需充值100豆）如需充值请咨询客服QQ:1171975780");
        }
        if(name=="six"){
            alert("您的余额不足，无法赠送礼物——666（还需充值300豆）如需充值请咨询客服QQ:1171975780");
        }
        if(name=="zj"){
            alert("您的余额不足，无法赠送礼物——求婚钻戒（还需充值5000豆）如需充值请咨询客服QQ:1171975780");
        }
    }
</script>
</html>